package _15作业.t4;

public class HWPhone {
    private String type;
    private double price;
    private String color;
    private static String brand = "华为";

    public void call(){
        System.out.println("打电话");
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }

    public static String getBrand() {
        return brand;
    }


    public HWPhone(String type, double price, String color) {
        this.type = type;
        this.price = price;
        this.color = color;
    }

    public HWPhone() {
    }
}
